package atri.service;

import atri.model.Recommend;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface RecommendService extends IService<Recommend> {
    List<Recommend> recommends_content(String content,int pages);

    List<Recommend> recommends_list(int pages);

    List<Recommend> recommends_title(String title, int pages);
    List<Recommend> recommends_user(int id);
    List<Recommend> recommends_hot();
    int delete_under_recommends(int f_id);
    Recommend recommends_by_id(int id);
    List<Recommend> recommends_category(String category);
    Boolean delete_by_user_id(int id);
    Boolean add_view(int id);
    int find_new_id();


}
